package com.bwda.dsrs.filecenter.domain.form.sensitivelevel;

import java.util.HashMap;
import java.util.List;
import com.bwda.dsrs.base.centerbase.form.BaseQueryForm;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Size;

/**
 * 敏感等级查询参数Form
 *
 * @author zhangyinmei
 * @date 2019年4月29日
 */
@Data
@ApiModel(description = "敏感等级")
public class SensitiveLevelQueryForm extends BaseQueryForm {

	@ApiModelProperty(value = "ID")
	private Integer id;

	@ApiModelProperty(value = "ID列表")
	private List<HashMap<Integer,Integer>> idList;

	@ApiModelProperty(value = "名称")
	@Size(min = 0, max = 64 ,message = "最长不超过64，请重新输入！")
	private String name;

	@ApiModelProperty(value = "等级12345", allowableValues = "0,1,2,3,4")
	private Integer sensitiveLevel;

	@ApiModelProperty(value = "敏感匹配规则 ：0与 1或", required = true,allowableValues = "0,1")
	private Integer sensitiveRel;

	@ApiModelProperty(value = "0正常1停用" ,allowableValues = "0,1")
	private Integer sensitiveState;

}